Units()

General System Function

Syntax samples

UNITS(<location> or <resource>)

PAUSE "There are" $ UNITS(Res1) $ "Res1's in the system."

Description

Returns the total units of a location or resource.

Valid In

Any logic and any field except those evaluated before translation. For a list of fields evaluated before translation, see Appendix A.

Components

<location>

The name of the location to examine. You may substitute LOC() for the name of a location.

<resource>

The name of the resource to examine. You may substitute RES() for the name of a resource.

See Also

FREEUNITS() and RESQTY().